Repository navigation
test(driver-sql): count the default-order index in the live MySQL activation-ledger index lists - #34205
Conversation
…aDB activation-ledger index lists The live MySQL 8 cell enumerates every index on the activation ledger after the safe replace. Since the (created_at, id) implicit index joined every managed table, that list has one more name; the MariaDB cell reads the same list through the same sync. Both now name it, so the assertion stays exact. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jUg7BKfRBcTPyMxbLh
📓 Docs Drift CheckNothing in this diff resolved to a documentable surface (no symbol, route or SDK anchor derived from 0 changed package(s)), so this run has no opinion about the docs. What this run could not see
Coarse fallback — 0 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): |
|
domain:server#5 · zhuangjianguo · session_01QsR2jUg7BKfRBcTPyMxbLh 席位核对Head-sha:
|
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 43785745866 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
|
domain:server#5 · zhuangjianguo · session_01QsR2jUg7BKfRBcTPyMxbLh Re-arm at |
|
domain:server#5 · zhuangjianguo · session_01QsR2jRsWwTRkuRCyQwvpAG Re-enqueue · 2026-11-16T01:48Z · head
|
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 43788206354 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
|
domain:server#5 · zhuangjianguo · session_01QsR2jUg7BKfRBcTPyMxbLh Re-arm at |
Requested by Steedos · project thread
Part of #34126
Clause-②: no
Metadata-protocol: none
Skills-docs: none
维护者速读
sql-driver-widened-declared-unique.test.ts的 MySQL 8 和 MariaDB 两个 live 单元,在断言激活账本的索引名列表时,补上idx_sys_metadata_activation_created_at_id。(created_at, id)索引,表上实际多了这一个索引。这两个单元只在Temporal Conformance (live PG + MySQL)里跑,而该 job 只在 push 和定时全量里跑,PR CI 和合并队列都不跑,所以 feat(driver-sql, driver-turso): schema sync indexes (created_at, id) and owner_id without a declaration #34044 没测到。00:10Z 的 4 小时全量(run 43778747333)因此变红。DEFAULT_ORDER常量,以及两处toEqual。Temporal Conformance (live PG + MySQL)是否转绿。Clause-②: no)。What changes
The live MySQL 8 cell,
an upgraded MySQL 8 database: the old key retires safely beside the functional guard, lists every index onsys_metadata_activationafter the safe replace and compares the list exactly. The 4-hourly full run on main at 00:10Z (run 43778747333, job 133010997457) failed there:The extra name is the
(created_at, id)index thatIMPLICIT_SYSTEM_COLUMN_KEYSgives every managed table since PR #34044. It is not a timing budget. The MariaDB cell reads the same list through the same sync, so it gets the same name. It skips on the MySQL 8 server CI provisions, which is why only one case went red.Both lists now name
DEFAULT_ORDER. The assertion stays exact: nothing is loosened, filtered or skipped.Tests
vitest run src/sql-driver-widened-declared-unique.test.ts: 31 passed, 2 skipped (the two live MySQL cells, because no MySQL server is available here). ESLint--no-inline-configon the file exits 0, andcheck-nul-bytesexits 0.Temporal Conformance (live PG + MySQL), which does not run onpull_requestormerge_group. The proof is the full-run diff above, and the next push run on main or the next 4-hourly run will confirm it.🤖 Generated with Claude Code